using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsDailyreportexceptionTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Dailyreportexception"; 

		public const string C_DAILYREPORTEXCEPTIONID = "DAILYREPORTEXCEPTIONID";
		public const string C_DAILYREPORTID = "DAILYREPORTID";
		public const string C_EXCEPTIONSTOPCAPTION = "EXCEPTIONSTOPCAPTION";
		public const string C_STOPHOURS = "STOPHOURS";
		public const string C_DEPARTMENT = "DEPARTMENT";
		public const string C_SOLUTION = "SOLUTION";
				
		public BsDailyreportexceptionTable()
		{
			_tableName ="Bs_Dailyreportexception";
		}

		protected static BsDailyreportexceptionTable _current;

		public static BsDailyreportexceptionTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsDailyreportexceptionTable();

			_current.Add(C_DAILYREPORTEXCEPTIONID, new ColumnInfo(C_DAILYREPORTEXCEPTIONID, "", true, typeof(Decimal?)));
			_current.Add(C_DAILYREPORTID, new ColumnInfo(C_DAILYREPORTID, "", false, typeof(String)));
			_current.Add(C_EXCEPTIONSTOPCAPTION, new ColumnInfo(C_EXCEPTIONSTOPCAPTION, "", false, typeof(String)));
			_current.Add(C_STOPHOURS, new ColumnInfo(C_STOPHOURS, "", false, typeof(Decimal?)));
			_current.Add(C_DEPARTMENT, new ColumnInfo(C_DEPARTMENT, "", false, typeof(String)));
			_current.Add(C_SOLUTION, new ColumnInfo(C_SOLUTION, "", false, typeof(String)));
						
		}

		public ColumnInfo DAILYREPORTEXCEPTIONID
		{
			get { return this[C_DAILYREPORTEXCEPTIONID];}
		}

		public ColumnInfo DAILYREPORTID
		{
			get { return this[C_DAILYREPORTID];}
		}

		public ColumnInfo EXCEPTIONSTOPCAPTION
		{
			get { return this[C_EXCEPTIONSTOPCAPTION];}
		}

		public ColumnInfo STOPHOURS
		{
			get { return this[C_STOPHOURS];}
		}

		public ColumnInfo DEPARTMENT
		{
			get { return this[C_DEPARTMENT];}
		}

		public ColumnInfo SOLUTION
		{
			get { return this[C_SOLUTION];}
		}

		
	}
}


